I'm new in C++ language, so there are some problem. Basically I have created one function in C++ successfully but how and where write line of code for calling that function. Please provide useful line of code.
Thanks in advance.
home / developersection / forums / how to call a function in c ?
AVADHESH PATEL
14-Jun-2013class myclass{public:
show( );
};
myclass:: show( )
{
cout<<"In function\n";
}
int main( )
{
myclass obj;
obj.show( );
}